package model

import "gorm.io/gorm"

type Department struct {
	gorm.Model
	DepartmentName string `gorm:"type:varchar(150); not null; comment:'科室名称'"`
	TypeId         int64  `gorm:"type:int; not null; comment:'所属分类'"`
	HospitalId     int64  `gorm:"type:int; not null; comment:'医院Id'"`
	Introduction   string `gorm:"type:text; comment:'科室简介'"`
	Status         int64  `gorm:"type:int; not null; comment:'0 - 启用，1 - 禁用'"`
}
type DepartmentType struct {
	gorm.Model
	TypeName string `gorm:"type:varchar(150); not null;comment:'科室简介'"`
}
type DepartmentTypeJoin struct {
	DepartmentName string
	TypeId         int64
	HospitalId     int64
	Introduction   string
	TypeName       string
}
